package org.example;

import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.DelegateTask;
import org.activiti.engine.delegate.ExecutionListener;
import org.activiti.engine.delegate.TaskListener;

/**
 * @version V1.0
 * @description:
 * @author: kite
 * @date: 2023/10/27
 */
public class MyTaskListener implements ExecutionListener {

    @Override
    public void notify(DelegateExecution delegateExecution) {
        System.out.println("执行监听器");
        System.out.println("流程实例id" + delegateExecution.getProcessInstanceId());
        System.out.println("活动id" + delegateExecution.getId());

    }
}
